<template>
    <view :style="themeColor">
        <view class="page" >
    <view class="flex flex-direction flex-wrap align-stretch justify-center benben-position-layout flex feedBackDetail_flex_0"    :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
            <view   class='flex flex-wrap align-stretch justify-between feedBackDetail_fd0_0'      >
            <view   class='flex flex-wrap align-center feedBackDetail_fd0_0_c0'   @tap.stop="handleJumpDiy" data-type="back" data-url="1"   >
        <text class='fu-iconfont2  feedBackDetail_fd0_0_c0_c0'  >&#xe794;</text>
</view>
    <view   class='flex flex-wrap align-center'      >
        <text class='feedBackDetail_fd0_0_c1_c0'  >{{$t('历史反馈')}}</text>
</view>
    <view   class='flex align-center justify-end feedBackDetail_fd0_0_c2'      >
        </view>
</view>

        </view>
<view :style="{height: (88+StatusBarRpx)+'rpx'}"  ></view>
<!---反馈记录带联系人flex布局开始-->
 <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout feedBackDetail_flex_1"    >
            <template v-for = '(item,key0) in dataMessage'>
    <view   class='flex flex-wrap align-start feedBackDetail_fd1_0'       :key='key0'>
        <image class='feedBackDetail_fd1_0_c0'  mode="aspectFit"  :src='item.avatar'></image>
    <view   class='flex flex-direction flex-wrap align-stretch flex-sub feedBackDetail_fd1_0_c1'      >
            <view   class='flex flex-direction flex-wrap align-stretch feedBackDetail_fd1_0_c1_c0'      >
            <view   class='flex-sub'      >
        <text class='feedBackDetail_fd1_0_c1_c0_c0_c0'  >{{item.body}}</text>
</view>
</view>
    <view   class='flex flex-wrap align-center'      >
            <template v-for = '(child,key1) in item.thumb'>
    <view   class='flex flex-wrap align-center feedBackDetail_fd1_0_c1_c1_c0'       :key='key1'>
        <image class='feedBackDetail_fd1_0_c1_c1_c0_c0'  mode="aspectFill"  :src='child' @tap.stop="multiImagePreview(child,item.thumb,'')" ></image>
</view>
    </template>
    
</view>
    <view   class='flex flex-wrap align-center feedBackDetail_fd1_0_c1_c2'      >
        <text class='feedBackDetail_fd1_0_c1_c2_c0'  >{{$t('反馈类型：')}}</text>
<text class='feedBackDetail_fd1_0_c1_c2_c0'  >{{item.type}}</text>
</view>
    <view   class='flex flex-wrap align-center feedBackDetail_fd1_0_c1_c3'      >
        <text class='feedBackDetail_fd1_0_c1_c2_c0'  >{{$t('反馈时间：')}}</text>
<text class='feedBackDetail_fd1_0_c1_c2_c0'  >{{item.create_time}}</text>
</view>
    <view   class='flex flex-wrap align-center feedBackDetail_fd1_0_c1_c4'    v-if= "item.is_replay=='2'"  >
        <text class='feedBackDetail_fd1_0_c1_c4_c0'  >{{$t('平台回复：')}}</text>
<text class='feedBackDetail_fd1_0_c1_c4_c1'  >{{item.replay}}</text>
</view>
</view>
</view>
    </template>
    <fu-empty :pagingListLoadedAll="pagingListLoadedAll" :pagingListNoListData="pagingListNoListData" :listDataLength="listDataLength" :isLoadInit="isLoadInit"></fu-empty>
</view>
        
<!---反馈记录带联系人flex布局结束-->
    
    
        </view>
    </view>
</template>
<script>
    import pagingList from '@/common/mixin/paging_list.js';
import {validate} from '@/common/utils/validate.js'
    
    export default {
        components:{},
        mixins: [pagingList],
        
        data(){
			return {"minixPagingListsApi":"","pageingListApiMethod":"","allowOnloadGetList":false,"aa_id":"1","dataMessage":[],"dataDetails":{"invite_code":"","address":"","address_code":"","hobby":"","tags":"","id":"","userlevel_id":"","mobile":"","real_name":"","avatar":"","account":"","email":"","birthday":"","gender":"","create_time":"","user_money":"","freeze_money":"","total_consumption_money":"","score":"","_mobile":"","coupon":"","collection_count":"","browse_count":"","total_money":"","certified":"","nickname":"","is_pay_password":"","follow_count":""}};
		},
		computed:{
            themeColor() {
              return this.$store.getters.themeColor
            },
            
		},
		watch:{},
		onLoad(options){
            this.getListFunc()
this.getUserinfoFunc()
		},
        onUnload() {
                
        },
		onReady(){
            
		},
		onShow(){
            
		},
		onHide(){
            
		},
		onResize(){
            
		},
		onPullDownRefresh(){
            this.getListFunc()
		},
		onReachBottom(e){
            
		},
		onPageScroll(e){
            
		},
		methods:{
                            //用户管理-意见反馈记录
                 getListFunc(){
                                    this.minixPagingListsApi = global.apiUrls.post641472eb35317;
                this.pageingListApiMethod = 'get';
                this.allowOnloadGetList = false;
                this.pagingListPostDataContent = {user_type:'1'}
                this.listData = [];
                this.dataMessage = this.listData;
                this.pagingListToggle();
                
                },
                //个人中心-获取会员详细信息
                async getUserinfoFunc(){
                        //请求方法
    //数据验证
    
  let datadataDetails = await this.$api.get(global.apiUrls.post5c78c4772da97, {
    
  });
  
  if (datadataDetails.data.code != 1) {
    this.$message.info(datadataDetails.data.msg);
    return
  } 
  let infodataDetails = datadataDetails.data;
  this.dataDetails = infodataDetails.data
  
                },
                pagingListPostData(){
                    return this.pagingListPostDataContent
                }
		}
    };
</script> 
<style lang="scss" scoped>
           .page{
            width: 100vw;
            overflow-x: hidden;
            min-height: calc(100vh - var(--window-bottom));
            background:#fff;background-size: 100% auto;
        }
    .feedBackDetail_flex_0{
        border-bottom:1px solid #eee;background:#fff;width:750rpx;height:88rpx;overflow:hidden;z-index:10;top:0rpx;background-size:100% auto !important;
    }
    .feedBackDetail_fd0_0_c2{
        padding:0rpx 0rpx 0rpx 0rpx;width:100rpx;
    }
    .feedBackDetail_fd0_0_c1_c0{
        font-size:36rpx;font-weight:500;color:#333333;line-height:50rpx;
    }
    .feedBackDetail_fd0_0_c0_c0{
        font-size:36rpx;font-weight:400;color:#333;
    }
    .feedBackDetail_fd0_0_c0{
        width:100rpx;
    }
    .feedBackDetail_fd0_0{
        padding:0rpx 32rpx 0rpx 32rpx;line-height:88rpx;
    }
    .feedBackDetail_flex_1{
        padding:0rpx 24rpx 0rpx 24rpx;
    }
    .feedBackDetail_fd1_0_c1_c4_c1{
        line-height:46rpx;font-size:28rpx;font-weight:400;color:var(--benbenFontColor0);
    }
    .feedBackDetail_fd1_0_c1_c4_c0{
        line-height:46rpx;font-size:28rpx;font-weight:400;color:rgba(0, 137, 255, 1);
    }
    .feedBackDetail_fd1_0_c1_c4{
        background:rgba(248, 248, 248, 1);padding:24rpx 16rpx 24rpx 16rpx;margin:16rpx 0rpx 0rpx 16rpx;border-radius:16rpx 16rpx 16rpx 16rpx;background-size:100% auto !important;
    }
    .feedBackDetail_fd1_0_c1_c3{
        margin:0rpx 0rpx 0rpx 16rpx;
    }
    .feedBackDetail_fd1_0_c1_c2_c0{
        line-height:33rpx;font-size:24rpx;font-weight:400;color:var(--benbenFontColor2);
    }
    .feedBackDetail_fd1_0_c1_c2{
        margin:32rpx 0rpx 16rpx 16rpx;
    }
    .feedBackDetail_fd1_0_c1_c1_c0_c0{
        width:180rpx;height:180rpx;border-radius:16rpx 16rpx 16rpx 16rpx;
    }
    .feedBackDetail_fd1_0_c1_c1_c0{
        margin:12rpx 5rpx 12rpx 5rpx;
    }
    .feedBackDetail_fd1_0_c1_c0_c0_c0{
        line-height:46rpx;font-size:28rpx;font-weight:400;color:var(--benbenFontColor0);padding:0rpx 30rpx 0rpx 0rpx;
    }
    .feedBackDetail_fd1_0_c1_c0{
        position:relative;padding:0rpx 0rpx 0rpx 16rpx;
    }
    .feedBackDetail_fd1_0_c1{
        margin:0rpx 0rpx 0rpx 0rpx;
    }
    .feedBackDetail_fd1_0_c0{
        width:72rpx;height:72rpx;border-radius:50rpx 50rpx 50rpx 50rpx;
    }
    .feedBackDetail_fd1_0{
        border-bottom:1px solid #eee;padding:24rpx 0rpx 32rpx 0rpx;
    }
</style>